package com.todo.reward.infrastructure.mapper;

import com.todo.reward.infrastructure.entity.po.RewardRuleExpandPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author azhebuxing
 * @date 2025/1/21 16:20
 * @description
 */
@Mapper
public interface RewardRuleExpandMapper {

    RewardRuleExpandPO queryRewardRuleExpandById(@Param("id")Long id);

    int insertRewardRuleExpand(RewardRuleExpandPO rewardRuleExpand);

    int updateRewardRuleExpand(RewardRuleExpandPO rewardRuleExpand);

    int removeRewardRuleExpandById(@Param("id")Long id);

    List<RewardRuleExpandPO> queryRewardRuleExpandsByTemplateBatch(@Param("templateBatch") Long templateBatch);
}
